package model

import "gorm.io/gorm"

type Article12 struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Author  string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:varchar(255)"`
}
type User12 struct {
	gorm.Model
	UserName string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}

type ArticleUser struct {
	gorm.Model
	Aid int `gorm:"type:int"`
	Uid int `gorm:"type:int"`
}
type ArticleUserList struct {
	ArticleId int
	UserName  string
	Password  string
	Title     string
	Author    string
	Content   string
}
